<template>
    <div style="background-color:#ffffff !important;">

      <div style="position: relative">
        <carouse-img/>
      </div>
      <page-content-frame top="0px">
      </page-content-frame>
    </div>
</template>

<script>
    import CarouseImg from "../component/carouse/CarouseImg";
    import PageContentFrame from "../component/page-content-frame/index";
    export default {
      name: "home",
      components: {
        PageContentFrame,
        CarouseImg
      },
      data() {
        return {
          currRouteName: '',
          menuList: [
            {
              title: "控制台",
              name: 'home',
              url: "/"
            }, {
              title: "帮助与支持",
              name: 'employee'
            }
          ]
        }
      },
      methods: {
        onSelect(name) {
          this.currRouteName = name;
          switch (name) {
            case 'home':
              this.$router.push({path: '/'});
              break;
            case 'project1':
              this.$router.push({path: '/'});
              break;
            default:
              this.$router.push({name: name});
              break;
          }
        },
      }
    }
</script>

<style lang="less" scoped>
</style>
